//
//  RongYunListCell.m
//  HappyStore
//
//  Created by 陈锋 on 16/7/20.
//  Copyright © 2016年 LLJ. All rights reserved.
//

#import "RongYunListCell.h"

@implementation RongYunListCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if (self) {
        
        self.headImg = [[UIImageView alloc]initWithFrame:CGRectMake(15, 10, 40, 40)];
        self.headImg.layer.masksToBounds = YES;
        self.headImg.layer.cornerRadius = 5.0f;
        self.titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(self.headImg.x + self.headImg.width + 10, 20, 60, 25)];
        UIFont *font = [UIFont fontWithName:@"STHeitiTC-Light" size:14];
        self.titleLabel.font = font;

        [self.contentView addSubview:self.headImg];
        [self.contentView addSubview:self.titleLabel];
        
    }
    
    return self;
}

@end
